import request from '@/utils/request'


//登录
export function login(username, password, areacode) {
  return request({
    url: '/login',
    method: 'post',
    data: {
      username ,
      password,
      areacode
    }
  })
}

//注销
export function logout() {
  return request({
    url: '/logout'
  })
}
